{% extends 'PortalMainBundle::layout.html.twig' %}

{% block stylesheets %}
  {{ parent() }}
{% endblock %}
{% block content %}
<div class="stylishForm">
  <h3 class="oneLine">Багшаар бүртгүүлэх</h3>  
<form action="{{ path('fos_user_registration_register') }}" {{ form_enctype(form) }} method="POST" class="fos_user_registration_register">
  <fieldset>
  
    <div class="row-fluid">
      <div class="span6">
        {{ form_label(form.firstName) }} 
      </div>
      <div class="span6">
        <div class="nameIcon">
          {{ form_widget(form.firstName, { 'attr': {'class': 'span12', 'style' : '', 'placeholder' : 'Нэр оруулана уу'} }) }}
            {% if form_errors(form.firstName) %}<div class="alert alert-error" style="padding: 10px 0px 0px 0px;margin-bottom: 0px;"> <a data-dismiss="alert" class="close" href="#" style="right: 10px;">×</a><strong>{{ form_errors(form.firstName) }}</strong> </div>{% endif %}{{ form_errors(form.firstName) }}
        </div>
      </div>
    </div>
    
    <div class="row-fluid">
      <div class="span6">        
          {{ form_label(form.lastName) }}        
      </div>
      <div class="span6">
        <div class="nameIcon">
        {{ form_widget(form.lastName, { 'attr': {'class': 'span12', 'style' : '', 'placeholder' : 'Овог оруулана уу'} }) }}
            {% if form_errors(form.lastName) %}<div class="alert alert-error" style="padding: 10px 0px 0px 0px;margin-bottom: 0px;"> <a data-dismiss="alert" class="close" href="#" style="right: 10px;">×</a><strong>{{ form_errors(form.lastName) }}</strong> </div>{% endif %}{{ form_errors(form.lastName) }}
        </div>
      </div>
    </div>    

    <div class="row-fluid">
      <div class="span6">        
        {{ form_label(form.userName) }}        
        </div>
        <div class="span6">
          <div class="nameIcon">
      {{ form_widget(form.userName, { 'attr': {'class': 'span12', 'style' : '', 'placeholder' : 'Хэрэглэгчийн нэвтрэх нэр'} }) }}
        {% if form_errors(form.userName) %}<div class="alert alert-error" style="padding: 10px 0px 0px 0px;margin-bottom: 0px;"> <a data-dismiss="alert" class="close" href="#" style="right: 10px;">×</a><strong>{{ form_errors(form.lastName) }}</strong> </div>{% endif %}{{ form_errors(form.lastName) }}
          </div>
        </div>
      </div>  

    <div class="row-fluid">
      <div class="span6">
        {{ form_label(form.email.first) }}
      </div>
      <div class="span6">
        <div class="mailIcon">
          {{ form_widget(form.email.first, { 'attr': {'class': 'span12', 'style' : '', 'placeholder' : 'И-мэйл оруулана уу'} }) }}
            {% if form_errors(form.email.first) %}<div class="alert alert-error" style="padding: 10px 0px 0px 0px;margin-bottom: 0px;"> <a data-dismiss="alert" class="close" href="#" style="right: 10px;">×</a><strong>{{ form_errors(form.email.first) }}</strong> </div>{% endif %}{{ form_errors(form.email.first) }}
        </div>
      </div>
    </div>

    <div class="row-fluid">
      <div class="span6">
        {{ form_label(form.email.second) }}
      </div>
      <div class="span6">
        <div class="mailIcon">
        {{ form_widget(form.email.second, { 'attr': {'class': 'span12', 'style' : '', 'placeholder' : 'И-мэйл давтаж оруулана уу'} }) }}
            {% if form_errors(form.email.second) %}<div class="alert alert-error" style="padding: 10px 0px 0px 0px;margin-bottom: 0px;"> <a data-dismiss="alert" class="close" href="#" style="right: 10px;">×</a><strong>{{ form_errors(form.email.second) }}</strong> </div>{% endif %}{{ form_errors(form.email.second) }}
        </div>
      </div>
    </div>
    
    <div class="row-fluid">
      <div class="span6">
        {{ form_label(form.plainPassword.first) }}
      </div>
      <div class="span6">
        <div class="msgIcon">          
        {{ form_widget(form.plainPassword.first, { 'attr': {'class': 'span12', 'style' : '', 'placeholder' : 'Нууц үг оруулана уу'} }) }}            
            {% if form_errors(form.plainPassword.first) %}<div class="alert alert-error" style="padding: 10px 0px 0px 0px;margin-bottom: 0px;"> <a data-dismiss="alert" class="close" href="#" style="right: 10px;">×</a><strong>{{ form_errors(form.plainPassword.first) }}</strong> </div>{% endif %}{{ form_errors(form.plainPassword.first) }}
      </div>
      </div>
    </div>
    
    <div class="row-fluid">
      <div class="span6">
        {{ form_label(form.plainPassword.second) }}
        </div>
        <div class="span6">
        <div class="msgIcon">           
        {{ form_widget(form.plainPassword.second, { 'attr': {'class': 'span12', 'style' : '', 'placeholder' : 'Нууц үг оруулана уу'} }) }}          
            {% if form_errors(form.plainPassword.second) %}<div class="alert alert-error" style="padding: 10px 0px 0px 0px;margin-bottom: 0px;"> <a data-dismiss="alert" class="close" href="#" style="right: 10px;">×</a><strong>{{ form_errors(form.plainPassword.second) }}</strong> </div>{% endif %}{{ form_errors(form.plainPassword.second) }}
        </div>
      </div>
    </div>
    
    <div class="sendIcon">
      {{ form_widget(form._token) }}
      <input type="submit" value="Бүртгүүлэх" class="btn btn-primary" id="newsletterSubmit_708">
    </div>
  </fieldset>
  
</form>
</div>

<div class="row-fluid"> 
  <div class="span12"> 
    <blockquote> 
      <span class="fontello quote-circled"><i></i></span> <p>Ирэх даваа гаригт зарлан хуралдуулах ээлжит бус чуулганаар Хөрөнгө оруулалтын тухай хуулиас гадна төсөвт тодотгол хийх болов уу гэсэн хүлээлт байна. Сүүлийн жилүүдэд  нийгэм, эдийн засгийн байдал нааштай байснаас төсвийн зарлага чамгүй өссөн. УИХ-аас 2013 оны төсвийг ДНБ-ий  42,2 хувьтай тэнцэж байхаар тооцож, орлогыг  </p> <span class="author">Админ</span> 
    </blockquote>       
  </div> 
</div>
{% endblock %}